home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 11991 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  725 b 

  1. Path: news.luc.edu!user
  2. From: VArase@varase.it.luc.edu (Verne Arase)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: string search?
  5. Date: Wed, 27 Mar 1996 23:21:21 +0000
  6. Organization: LUMC
  7. Message-ID: <AD7F7DF19668C935@mcdiala03.it.luc.edu>
  8. References: <4jbnfk$cuq@dfw-ixnews6.ix.netcom.com>
  9. NNTP-Posting-Host: 147.126.240.103
  10.  
  11. In article <4jbnfk$cuq@dfw-ixnews6.ix.netcom.com>,
  12. rmor1@ix.netcom.com(Ricardo Mor ) wrote:
  13.  
  14.  >    How can I search a string of character in another string? for
  15.  >example...
  16.  >
  17.  >
  18.  >    string1 = "NEXT_TIME";
  19.  >    string2 = "TIME";
  20.  >
  21.  >    how can I search for string1 in string2?
  22.  
  23. strstr().
  24.  
  25. Remember that this is a case sensitive search.
  26.  
  27. ---
  28. The above are my own opinions, and not those of my employer.
  29.